/**
 * params 取参
 *  props.match.params
 */

function InfoTwo({ match }: any) {
  return (
    <div>
      <h4>详情</h4>
      <p>ID: {match.params.id}</p>
      <p>Name: {match.params.name}</p>
    </div>
  );
}

export default InfoTwo;
